#!/bin/bash
basedir=`pwd`
cd $basedir
tar zxvf nginx-1.18.0.tar.gz
unzip -o fastdfs-nginx-module-master.zip
cd nginx-1.18.0 
./configure --add-module=../fastdfs-nginx-module-master/src
make && make install
ln -s $1 $1/M00
